import { CreateDate, Entity, MemberId, PrimaryUuid, UpdateDate, Uuid } from "@sker/core";


@Entity({ name: 'kd_order_log' })
export class KdOrderLog {
    @PrimaryUuid()
    id: string;

    @Uuid({ comment: '订单' })
    order_id: string;

    @MemberId({ comment: '接单人' })
    member_id: string;

    @Uuid({ comment: '运单号' })
    code: string;

    @Uuid({ comment: '运输公司', nullable: true })
    comp_id: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}